<!DOCTYPE html>
<html>
  <head>
    <meta charset="UTF-8" />
    <title></title>
  </head>

  <body>
    <script src="ice-event.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript">
      var ie = new IceEvent();
      ie.add("hi", name => console.log("hi," + name));
      ie.add("hi", () => console.log("hi 2"));
	  ie.add("hi", () => console.log("hi 3"));
	  ie.add("hi.sn1", () => console.log("hi 3"));
      ie.remove("hi", () => console.log("hi 2"));
      ie.trigger("hi", "tim");
    </script>
  </body>
</html>
